home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000221_Petri_member@newsguy.com_Tue Apr 20 09:11:37 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
3KB
Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!nntp1.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!green.octanews.net!news-out.octanews.net!news.glorb.com!newsfeed3.easynews.com!easynews.com!easynews!border1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
From: Petri <Petri_member@newsguy.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Running kermit from within glftpd
Date: 19 Apr 2004 14:22:44 -0700
Organization: Newsguy News Service [http://newsguy.com]
Lines: 58
Message-ID: <c61fv402ovm@drn.newsguy.com>
NNTP-Posting-Host: p-668.newsdawg.com
X-Newsreader: Direct Read News 4.20
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14938
Hi,
After the successful solution to the Auth SSL problem I posted about earlier, I
finished a Perl-wrapper that will take parameters given by the users within
glftpd, and use those parameters to start Kermit ftp-sessions to remote sites.
Now I am done with that, and I am ready to deploy the scripts.
glftpd changes root into its' own folder, which means I have to copy some
dependencies.
No problem with Perl, I just copied the whole of /usr/lib/perl5, and that was
that.
Kermit on the other hand, first required ncurses, which was no problem, I just
copied /usr/lib/libncurses*.
But now Kermit wants some Kerberos library, here is the error message when run
from within glftpd:
kermit: error while loading shared libraries: libkrb4.so.2: cannot open shared
object file: No such file or directory
I tracked that file to /usr/kerberos/lib/ on this redhat9 system, so I copied
the whole dir structure /usr/kerberos/ into the new root.
Yet Kermit still complains about that same file.
I figured I'd try that make thingy again, and build a binary without Kerberos,
with 'make linux+openssl', but that results in:
---8<---
Making C-Kermit "8.0.211" for Linux on i386 with SSL/TLS...
make xermit KTARGET=${KTARGET:-linux+openssl} "CC = gcc" "CC2 = gcc" \
"CFLAGS = -O -funsigned-char -pipe -DPOSIX -DLINUX -DNOCOTFMC \
-DCK_AUTHENTICATION -DCK_SSL \
-DCK_CURSES -DCK_POSIX_SIG -DTCPSOCKET -DLINUXFSSTND -DHAVE_CRYPT_H \
-DFNFLOAT -I/usr/local/ssl/include " "LNKFLAGS = " \
"LIBS= -L/usr/local/ssl/lib \
-lncurses -ltermcap -lssl -lcrypto -lm -lresolv -lcrypt"
make[1]: Entering directory `/root/ckermit'
gcc -O -funsigned-char -pipe -DPOSIX -DLINUX -DNOCOTFMC -DCK_AUTHENTICATION
-DCK_SSL -DCK_CURSES -DCK_POSIX_SIG -DTCPSOCKET -DLINUXFSSTND -DHAVE_CRYPT_H
-DFNFLOAT -I/usr/local/ssl/include -DKTARGET=\"linux+openssl\" -c ckcmai.c
In file included from /usr/include/openssl/ssl.h:179,
from ck_ssl.h:43,
from ckcmai.c:607:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
...
make[1]: *** [ckcmai.o] Error 1
make[1]: Leaving directory `/root/ckermit'
make: *** [linux+openssl] Error 2
---8<---
Is it possible to build Kermit with OpenSSL, but without Kerberos?
Maybe I should try to solve the runtime Kerberos dependency instead, but then
how?
Any tips would be greatly appreciated. :)
Petri